package com.myk.game.sumeru.pages;

import android.content.Context;

import androidx.annotation.NonNull;

import com.myk.game.lib.base.AbsBasePage;
import com.myk.game.sumeru.databinding.PageHelpBinding;
import com.myk.game.sumeru.interfaces.IGame;

/**
 * 帮助页
 */
public class HelpPage extends AbsBasePage<PageHelpBinding> {

    public HelpPage(@NonNull Context context) {
        super(context);
        setOnBackPressed(() -> jumpPageTo(HomePage.class));
        binding.ivBack.setOnClickListener(v -> jumpPageTo(HomePage.class));
        binding.tvRule.setText(IGame.RULE);
    }

}
